package app.fugema.shop.main.center.adapter;

import com.base.common.utils.DensityUtil;
import com.base.common.utils.ViewUtils;
import com.base.common.view.adapter.connector.BaseItemMultiType;

import app.fugema.shop.R;
import app.fugema.shop.databinding.ItemGiftDetailFooterViewBinding;
import app.fugema.shop.main.order.model.OrderPayFootBean;

public class GiftFooterMultiType extends BaseItemMultiType<OrderPayFootBean, ItemGiftDetailFooterViewBinding>
{

    @Override
    public int getItemViewType()
    {
        return TYPE_FOOT;
    }

    @Override
    public int getLayoutId()
    {
        return R.layout.item_gift_detail_footer_view;
    }

    @Override
    public void onBindViewHolder(ItemGiftDetailFooterViewBinding binding, int position, OrderPayFootBean bean)
    {
        super.onBindViewHolder(binding, position, bean);
        ViewUtils.setViewMarginTop(binding.clOrderInfoView,DensityUtil.getDimens(R.dimen.dp_12),0 );
    }
}
